package com.george.properties;

import lombok.Data;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author GeorgeChan 2019/4/25 11:43
 * @version 1.0
 * @since jdk1.8
 */
@Component
@ConfigurationProperties(prefix = OaProperties.PREFIX)
@Data
public class OaProperties implements Serializable {
    static final String PREFIX = "oa";
    private static final Logger LOGGER = LoggerFactory.getLogger(OaProperties.class);

    /**
     * 附件相关配置
     */
    private FileProp file;
}
